package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 轮胎档案表
 * </p>
 *
 * @author LX
 * @since 2018-09-27
 */
@TableName("erp_tire_archives")
public class ErpTireArchives extends Model<ErpTireArchives> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 轮胎ID
     */
    @TableField("tire_id")
    private Integer tireId;
    /**
     * 轮胎 胎纹深度1
     */
    @TableField("tire_tread1")
    private Double tireTread1;
    /**
     * 轮胎 胎纹深度2
     */
    @TableField("tire_tread2")
    private Double tireTread2;
    /**
     * 轮胎 胎纹深度3
     */
    @TableField("tire_tread3")
    private Double tireTread3;
    /**
     * 轮胎 胎纹深度4
     */
    @TableField("tire_tread4")
    private Double tireTread4;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTireId() {
        return tireId;
    }

    public void setTireId(Integer tireId) {
        this.tireId = tireId;
    }

    public Double getTireTread1() {
        return tireTread1;
    }

    public void setTireTread1(Double tireTread1) {
        this.tireTread1 = tireTread1;
    }

    public Double getTireTread2() {
        return tireTread2;
    }

    public void setTireTread2(Double tireTread2) {
        this.tireTread2 = tireTread2;
    }

    public Double getTireTread3() {
        return tireTread3;
    }

    public void setTireTread3(Double tireTread3) {
        this.tireTread3 = tireTread3;
    }

    public Double getTireTread4() {
        return tireTread4;
    }

    public void setTireTread4(Double tireTread4) {
        this.tireTread4 = tireTread4;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpTireArchives{" +
        ", id=" + id +
        ", tireId=" + tireId +
        ", tireTread1=" + tireTread1 +
        ", tireTread2=" + tireTread2 +
        ", tireTread3=" + tireTread3 +
        ", tireTread4=" + tireTread4 +
        "}";
    }
}
